home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / UNDO.DTML < prev    next >
Encoding:
Text File  |  2000-04-08  |  2.6 KB  |  76 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <HTML lang="en">
  3. <HEAD>
  4. <TITLE>Undo Changes</TITLE>
  5. </HEAD> 
  6. <BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555" ALINK="#77003B">
  7. <dtml-var manage_tabs>
  8. <P>
  9.  
  10. <dtml-if undoable_transactions>
  11.  
  12.   <FORM ACTION="manage_undo_transactions" METHOD="POST">
  13.   This application's transactional feature allows you to easily undo changes
  14.   made to the application's settings or data. You can revert the application
  15.   to a "snapshot" of it's state at a previous point in time.
  16.   <P>
  17.   Select one or more transactions below and then click on the "Undo"
  18.   button to undo the transactions.  Note that even though a transaction
  19.   is shown below, you will not be able to undo it if later transactions
  20.   modified objects that were modified by the transaction.
  21.  
  22.   <table>
  23.     <tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo ">
  24.         </td></tr>
  25.     <tr><td></td></tr>
  26.     <dtml-if first_transaction>
  27.        <tr><td colspan=2 align=center>
  28.         <a href="manage_UndoForm?first_transaction:int=<dtml-var
  29.      expr="first_transaction*2-last_transaction"
  30.      >&last_transaction:int=<dtml-var first_transaction
  31.          >&PrincipiaUndoBatchSize:int=<dtml-var PrincipiaUndoBatchSize
  32.          >">
  33.        Later Transactions</a>
  34.        </td></tr>
  35.     </dtml-if>
  36.     <dtml-in undoable_transactions mapping>
  37.       <tr>
  38.       <td valign=top><input type=checkbox name="transaction_info:list"
  39.       value="<dtml-var id html_quote>"></td>
  40.       <td valign=top>
  41.       <strong><dtml-var description html_quote></strong> by <strong>
  42.           <dtml-if user_name>
  43.         <dtml-var user_name html_quote>
  44.           <dtml-else>
  45.             <em>Zope</em>
  46.           </dtml-if>
  47.       </strong> on <dtml-var time fmt=Mon> <dtml-var time fmt=day> at
  48.       <dtml-var time fmt=Time>
  49.       </td>
  50.     </tr>
  51.     </dtml-in>
  52.     <dtml-if expr="_.len(undoable_transactions) == PrincipiaUndoBatchSize">
  53.        <tr><td colspan=2 align=center>
  54.        <a href="manage_UndoForm?first_transaction:int=<dtml-var
  55.      last_transaction>&last_transaction:int=<dtml-var
  56.      expr="last_transaction+PrincipiaUndoBatchSize"
  57.          >&PrincipiaUndoBatchSize:int=<dtml-var PrincipiaUndoBatchSize
  58.          >">
  59.        Earlier Transactions</a>
  60.        </td></tr>
  61.     </dtml-if>
  62.     <tr><td></td></tr>
  63.     <tr><td colspan=2 align=center><INPUT TYPE="SUBMIT" VALUE=" Undo ">
  64.         </td></tr>
  65.   </table>
  66.   </FORM>
  67.  
  68. <dtml-else>
  69.  
  70.   There are no transactions that can be undone.
  71.  
  72. </dtml-if>
  73.  
  74. </BODY>
  75. </HTML>
  76.